
.box {
  display: -webkit-box;
  display: box;
  display: -moz-box;
  /* 老版本 - 适配iOS 6-, Safari 3.1-6 */
  display: -webkit-flex;
  /* 新版本 - 适配Chrome */
  display: flex;
}

.box-lr {
    flex-direction: row;
}

.box-rl {
    flex-direction: row-reverse;
}

.box-tb {
    flex-direction: column;
}

.box-bt {
    flex-direction: column-reverse;
}

.box-pack-center {
  -webkit-box-justify-content:  center;
  -moz-align-justify-content:  center;
  -webkit-align-justify-content: center;
  justify-content:  center;
}

.box-pack-start {
  -webkit-box-justify-content:  flex-start;
  -moz-align-justify-content:  flex-start;
  -webkit-align-justify-content:  flex-start;
  justify-content:  flex-start;
}

.box-pack-end {
  -webkit-box-justify-content:  flex-end;
  -moz-align-justify-content:  flex-end;
  -webkit-align-justify-content:  flex-end;
  justify-content:  flex-end;
}

.box-pack-between {
  -webkit-box-justify-content: space-between;
  -moz-align-justify-content: space-between;
  -webkit-align-justify-content: space-between;
  justify-content: space-between;
}

.box-pack-around {
  -webkit-box-justify-content: space-around;
  -moz-align-justify-content: space-around;
  -webkit-align-justify-content: space-around;
  justify-content: space-around;
}

.box-align-center {
    -webkit-box-align: center;
  -moz-align-items: center;
  -webkit-align-items: center;
  align-items: center;
}

.box-align-start {
  -webkit-box-align: flex-start;
  -moz-align-items: flex-start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
}

.box-align-end {
   -webkit-box-align: flex-end;
  -moz-align-items: flex-end;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}

.self-align-center {
    align-self: center;
    margin: 0 auto;
}

.self-align-start {
    align-self: flex-start;
}

.self-align-end {
    align-self: flex-end;
}

.self-align-stretch {
    align-self: stretch;
}

.box-wrap {
    flex-wrap: wrap;
}

.box-nowrap {
    flex-wrap: nowrap;
}

.flex {
    flex-grow: 1;
}

.over-hidden{
  overflow: hidden;
  text-overflow:ellipsis;
  white-space: nowrap;
}

.shrink {
    flex-shrink: 1;
}
.bg {
  background-image: linear-gradient(to bottom, #faefe7, #ffcbd7);
  overflow: hidden;
}
.brown-color {
  color: #784344;
}
.pink-color {
  color: #02b5f9;
}
.white-color {
  color: #fff;
}